package com.bee2c.zas.home.dao;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.bee2c.zas.entity.FbpManagementBody;

public interface FbpManagementBodyDao extends PagingAndSortingRepository<FbpManagementBody, Long> {

	FbpManagementBody findByManagementBodyId(Long managementBodyId);
	
	FbpManagementBody findByManagementBodyCode(String managementBodyCode);

	List<FbpManagementBody> findListByCon(FbpManagementBody con);

	Page<FbpManagementBody> findPageByCon(FbpManagementBody con, int pageIndex, int pageSize);
}
